import { file_type_staticNode } from './cla_file_type_staticNode';
import { file_type_eventBind } from './cla_file_type_eventBind';
import { spacename_file_type } from '../DataDefine/sourceData';
import type { file_type_props } from './cla_file_type_props';
import { listenEvent_mana } from '../../../../global_comps/Classes/listenEvent_mana/Classes/cla_listenEvent_mana';
import { set_keyVal_node_info } from '../../../../global_comps/uni_comps/keyVal_node/keyVal_node';

const file_type_dataManaTag = 'file_type_dataMana';

export class file_type_dataMana extends file_type_staticNode {
  get [Symbol.toStringTag]() {
    return file_type_dataManaTag;
  }

  constructor(props: file_type_props) {
    super(props);
  }

  /**
   * 事件 绑定 this
   */
  eventBind = new file_type_eventBind();

  /**
   * 事件 监听管理
   */
  eventM = new listenEvent_mana(spacename_file_type);

  /**
   * 设置 变换值
   * @param val
   */
  set_keyVal_node(val: any) {
    set_keyVal_node_info(this.dom_inp, val);
  }
}
